package io.adrainty.bolee.file.hystrix;

import io.adrainty.bolee.file.feign.IFileBusinessFeign;
import io.adrainty.bolee.file.models.entity.FileEntity;
import io.adrainty.bolee.framework.commons.basic.ResponseCode;
import io.adrainty.bolee.framework.commons.basic.ResultDTO;
import io.adrainty.bolee.framework.commons.utils.ResultDTOUtil;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>FileBusinessFeignHystrix</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description IFileBusinessFeign
 * @since 2025/8/18 14:58:32
 */

@Component
public class FileBusinessFeignHystrix implements IFileBusinessFeign {

    @Override
    public ResultDTO<Boolean> clearFile() {
        return ResultDTOUtil.error(ResponseCode.INTERFACE_HYSTRIX);
    }

    @Override
    public ResultDTO<Boolean> clearFile(Long id) {
        return ResultDTOUtil.error(ResponseCode.INTERFACE_HYSTRIX);
    }

    @Override
    public ResultDTO<List<FileEntity>> bindBatchFile(List<FileEntity> fileVOs) {
        return ResultDTOUtil.error(ResponseCode.INTERFACE_HYSTRIX);
    }

    @Override
    public ResultDTO<Boolean> replaceBindBatchFile(List<FileEntity> fileVOs) {
        return ResultDTOUtil.error(ResponseCode.INTERFACE_HYSTRIX);
    }

    @Override
    public ResultDTO<List<FileEntity>> findInBusinessIds(List<Long> businessIds) {
        return ResultDTOUtil.error(ResponseCode.INTERFACE_HYSTRIX);
    }

    @Override
    public ResultDTO<Boolean> deleteInBusinessIds(List<Long> businessIds) {
        return ResultDTOUtil.error(ResponseCode.INTERFACE_HYSTRIX);
    }

}
